/**
 * Created by Even on 2018/3/8.
 */
import dataOverview from './tmPaas/dataOverview'
import userAnalysis from './tmPaas/userAnalysis'
import behaviorAnalysis from './tmPaas/behaviorAnalysis'
import metaDataManage from './tmPaas/metaDataManage'
import paramManager from './tmPaas/paramManager'
import AandB from './tmPaas/AandB'
import query from './tmPaas/query'
import visualBurialPoint from './tmPaas/visualBurialPoint'
import bugTags from './bugTags/bugTags'
import protarit from './tmPaas/protarit'
import systemManager from './systemManager/systemManager'
import iapadmin from './iapadmin/iapIndex'
import workspace from './iapadmin/workSpaceList'
import gateWay from './gateWay/gateWay'
import mobilePush from './mobilePush/mobilePush'

let routesArray = []

let toArray = (pages) => {
  Object.keys(pages).forEach((key) => {
    let obj = pages[key]
    Object.keys(obj).forEach((key) => {
      routesArray.push(obj[key])
    })
  })
}

toArray([dataOverview, userAnalysis, behaviorAnalysis, metaDataManage, paramManager, AandB, query, visualBurialPoint, bugTags, protarit, systemManager, iapadmin, workspace, gateWay, mobilePush])

export default routesArray
